package cn.itcast.nems.enrol.web.converter;

import cn.itcast.nems.enrol.command.EnrolQuickCmd;
import cn.itcast.nems.enrol.web.vo.EnrolQuickFormVO;

/**
 * author liyong
 * create: 2024-04-14 09:42:07
 **/
public final class QuickEnrolConverter {

    public static EnrolQuickCmd formToCommand(EnrolQuickFormVO form) {
        EnrolQuickCmd cmd = new EnrolQuickCmd();
        cmd.setName(form.getName());
        cmd.setMobile(form.getMobile());
        cmd.setSchoolId(form.getSchoolId());
        cmd.setSubjectId(form.getSubjectId());
        return cmd;
    }
}
